<%@ page contentType="text/html;charset=ISO8859_1" language="java" 
	import="git.bankview.sl.report.ReportCommon" %>

<%@ taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/tld/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/tld/struts-nested.tld" prefix="nested" %>

<jsp:useBean id="context" type="laya.semi.process.IProcessContext" scope="request" />

<jsp:useBean id="oNavigate" class="git.bankview.wl.bean.TransNavigateBean" />
<jsp:setProperty name="oNavigate" property="transid" />

<html:html locale="true">
<head>
	<title><logic:iterate id="element" name="oNavigate" property="navigateList"
	><bean:write name="element" property="translabel" />
	 - </logic:iterate><bean:message key="report.ManualReportSchd.title" /></title>
	<!-- title><bean:message key="report.ManualReportSchd.title" /></title -->
	<link rel="stylesheet" href="../style/default_aux.css">
</head>
<body onload="oninit();">
	<script src="../script/overlib.js" language="JavaScript"></script>
	<script src="../script/style.js" language="JavaScript"></script>
	<script src="../script/windows.js" language="JavaScript"></script>
	<table cellspacing="0" class="filledframe">
		<tr>
			<td nowrap="" class="clientframe">
				<table id="oHelp" class="helper" >
					<tr>
						<td width="200" class="label">&nbsp;</td>
						<td class="help"><input type="button" class="button" title="<bean:message key="common.help.title" />" onclick="help('help.report.schd');" value="<bean:message key="common.help" />" ></td>
					</tr>
				</table>
				<html:form action="/report/ManualReportSchd" styleId="oManualForm" onsubmit="return onSubmitCheck()">
					<bean:parameter id="pageUrl" name="pageUrl" />
					<input type="hidden" name="pageUrl" value="<bean:write name="pageUrl" />">
					<html:hidden property="transid" />
					<div class="listtitle"><logic:iterate id="element" name="oNavigate" property="navigateList"
						><logic:empty name="element" property="pageurl"><bean:write name="element" property="translabel" /></logic:empty
						><logic:notEmpty name="element" property="pageurl"><a href="<bean:write name="element" property="pageurl" />" title="<bean:write name="element" property="transid" />"><bean:write name="element" property="translabel" /></a></logic:notEmpty
						><img src="/images/navconn.gif" ></logic:iterate><bean:message key="report.ManualReportSchd.title" 
						/></div>
					<!-- div class="listtitle"><bean:write name="InfoTransForm" property="translabel" />(<bean:write name="InfoTransForm" property="transid" />)</div -->
					<div class="subtitle"><bean:message key="report.ManualReportSchd.subtitle" /><br><html:errors /></div>
					<%@ include file="ParamPromptInc.jsp" %>
				</html:form>
			</td>
			<!-- td id="oFrame" nowrap="" class="infoframe">&nbsp;</td -->
		</tr>
	</table>
	
	<iframe id="oDataGetter" style="display: none; "></iframe>
	
<script language="javascript">
function oninit()
{
<%
	String[] vSchdtype = (String[])context.getField("schdtype");
	for (int i = 0; null != vSchdtype && i < vSchdtype.length; ++i)
	{
%>
	selectOptionByValue(oManualForm.schdtype, "<%=vSchdtype[i]%>");
<%
	}
	
	String[] vJrExport = (String[])context.getField("jrExport");
	for (int i = 0; null != vJrExport && i < vJrExport.length; ++i)
	{
%>
	setRatioValue(oManualForm.jrExport, "<%=vJrExport[i]%>");
<%
	}
%>
}

function onSubmitCheck()
{
	if (null == getRatioValue(oManualForm.jrExport))
	{
		alert("<bean:message key="reportSchd.err.lossSchdExport" />");
		return false;
	}
	
	return true;
}

</script>

</body>
</html:html>









